# 基础镜像
FROM nginx
# author
MAINTAINER didi
# 挂载目录
VOLUME /mydata/nginx/html
# 创建目录
RUN mkdir -p /mydata/nginx/html
# 指定路径
WORKDIR /mydata/nginx/html
# 复制conf文件到路径
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
# 复制html文件到路径
COPY /dist /mydata/nginx/html
EXPOSE 80
